package com.ruge.mapper;


import com.alibaba.fastjson.JSONObject;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SQLiteMapper {
    @DS("SQLITE3_BUSINESS")
    List<JSONObject> getBusinessDataList(@Param("params") Map<String, String> params);

    @DS("SQLITE3_BUSINESS")
    List<JSONObject> getBusinessStampList(@Param("params") Map<String, String> params);

    @DS("SQLITE3_CENTER")
    List<JSONObject> getCenterDataList(@Param("params") Map<String, String> params);

    @DS("SQLITE3_CENTER")
    List<JSONObject> getCenterStampList(@Param("params") Map<String, String> params);

    @DS("SQLITE3_REPORT")
    List<JSONObject> getReportDataList(@Param("params") Map<String, String> params);

    @DS("SQLITE3_REPORT")
    List<JSONObject> getReportStampList(@Param("params") Map<String, String> params);

    @DS("SQLITE3_REPORT_BIGDATA")
    List<JSONObject> getReportBigdataDataList(@Param("params") Map<String, String> params);

    @DS("SQLITE3_REPORT_BIGDATA")
    List<JSONObject> getReportBigdataStampList(@Param("params") Map<String, String> params);

}
